/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package elaborate.tool.messenger.secret;

/**
 *
 * @author lendle
 */
public interface Encrypter {
    public byte [] encrypt(byte [] key, String originalString) throws Exception;
    public String decrypt(byte [] key, byte [] secret) throws Exception;
    public String encryptString(String key, String originalString) throws Exception;
    public String decryptString(String key, String secret) throws Exception;
}
